﻿@{
    Layout = null;
}
<html>
<head>
    <title>Hello React</title>
    <link type="text/css" rel="stylesheet" href="~/Css/index.css" />
</head>
<body>
    <div>
        <label for="">请选择一个图片文件</label>
        <input type="file" id="file" />
        <input type="button" value="读取图片" onclick="readAsDataURL()" />
        <input type="button" value="读取二进制数据" onclick="readAsBinaryString()" />
        <input type="button" value="读取文本文件" onclick="readAsText()" />
    </div>
    <div id="result" name="result"></div>
    <script src="@Url.Content("~/Scripts/Picture.jsx")"></script>
</body>
</html>